home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2000 November
/
cd joystick no120 novembre 2000 cd 1.iso
/
data
/
demos
/
gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
level05.gcs
< prev
next >
Wrap
Text File
|
2000-08-22
|
10KB
|
333 lines
echo off
cd play looping 5
batch common.gcs
//ray 0 0 0
fogcolour 0 0 0
fogvalue 0.67
fogtransition 4
fogupdate 10
sunangle 118
sunbrightness 1.7 2.1 2.5
sunspecular 0 0 0
vision on
set camera pos -58 0 -193
set camera ori 0 341 0
set distance 28
select gunlok
give gunlok battery_basic
give gunlok health_pickup
give gunlok mini_battery_plus
give gunlok remote_minelayer
give gunlok timed_minelayer
give and equip gunlok laser
give and equip gunlok battery_basic
give and equip gunlok terrain_scanner_with_radar
select hark
give hark health_pickup
give hark flares
give hark timed_minelayer
give hark decoylayer
give and equip hark plasma_bolts
give and equip hark plasma_pistol
select elint
give and equip elint plasma_bolts
give and equip elint plasma_pistol
give elint repair_arm
give elint energy_cells
give elint interface_arm
select frend
give frend plasma_bolts
give frend plasma_pistol
give frend minelayer
give and equip frend grenade_basic
give and equip frend grenade_launcher
// DISHLIFTS A, B, C, D & E
set track dishlift_a 8 17 22 8 16 22 8 -10 22 8 -11 22 true
attach dishlift_a
set track dishlift_b 23 17 4 23 16 4 23 -10 4 23 -11 4 true
attach dishlift_b
set track dishlift_c 20 17 -12 20 16 -12 20 -10 -12 20 -11 -12 true
attach dishlift_c
set track dishlift_d -10 17 -22 -10 16 -22 -10 -10 -22 -10 -11 -22 true
attach dishlift_d
set track dishlift_e -21 17 12 -21 16 12 -21 -10 12 -21 -11 12 true
attach dishlift_e
set speed 0.5 dishlift_a dishlift_b dishlift_c dishlift_d dishlift_e
//TOWER LIFTS A & B
set track setilift_a 71 -6 -43 71 -7 -43 71 -14 -43 71 -15 -43 true
attach setilift_a
set speed 0.5 setilift_a
link liftswitch_a setilift_a.gcs
link liftswitch_ab setilift_a.gcs
set track setilift_b -80 -6 -66 -80 -7 -66 -80 -14 -66 -80 -15 -66 true
attach setilift_b
set speed 0.5 setilift_b
link liftswitch_b setilift_b.gcs
link liftswitch_bb setilift_b.gcs
//TRACKLIFTS A TO L & ANIM DISH 1
set track tracklift_a -20 -18.75 0 -18 -18.475 0 -2 -16.275 0 0 -16 0 true
set speed 0.4 tracklift_a
attach tracklift_a
attach tracklift_b
attach tracklift_c
set track tracklift_b -20 -15.25 0 -20 -14.25 0 -20 -10.5 0 -20 -9.5 0 true
set speed 2 tracklift_b
set track tracklift_c -20 -11.75 0 -20 -10.75 0 -20 -7 0 -20 -6 0 true
set speed 3 tracklift_c
set track tracklift_d -20 -19 0 -20 -19 0 -20 -19 0 -20 -19 0 true
set speed 0.4 tracklift_d
set track tracklift_e -17.483 -18.949 0 -17.334 -18.928 0 -16.145 -18.761 0 -15.997 -18.74 0
set speed 0.4 tracklift_e
set track tracklift_f -16.987 -18.88 0 -16.69 -18.838 0 -14.314 -18.504 0 -14.017 -18.462 0
set speed 0.4 tracklift_f
set track tracklift_g -16.492 -18.81 0 -16.047 -18.747 0 -12.482 -18.246 0 -12.036 -18.184 0
set speed 0.4 tracklift_g
set track tracklift_h -15.997 -18.740 0 -15.403 -18.657 0 -10.650 -17.989 0 -10.056 -17.906 0
set speed 0.4 tracklift_h
set track tracklift_i -15.502 -18.671 0 -14.759 -18.566 0 -8.818 -17.731 0 -8.075 -17.627 0
set speed 0.4 tracklift_i
set track tracklift_j -15.006 -18.601 0 -14.116 -18.476 0 -6.986 -17.474 0 -6.094 -17.349 0
set speed 0.4 tracklift_j
set track tracklift_k -14.512 -18.532 0 -13.472 -18.385 0 -5.154 -17.216 0 -4.114 -17.07 0
set speed 0.4 tracklift_k
set track tracklift_l -15.205 -18.629 0 -13.898 -18.445 0 -3.441 -16.976 0 -2.133 -16.792 0
set speed 0.4 tracklift_l
add trigger escort gunlokdum 2 tracklift_a.gcs gunlok
add trigger escort harkdum 2 thickyhark.gcs hark
add trigger escort elintdum 2 thickyelint.gcs elint
add trigger escort frenddum 2 thickyfrend.gcs frend
//WATER EFFECTS
//WATER 0.25 "Dummy 1" "Dummy 2"
WATER 0.1 "Dummy 3" "Dummy 4"
WATER 0.1 "Dummy 5" "Dummy 6"
WATER 0.1 "Dummy 7" "Dummy 8"
rem token chips
rem associate pc_chip_a chip_collected.gcs
rem associate pc_chip_b chip_collected.gcs
rem associate pc_chip_c chip_collected.gcs
heap garbage_a shield_pickup
heap garbage_ab mini_grenade_basic
//heap garbage_ac mini_battery_basic
heap garbage_ad battery_basic
heap garbage_ae battery_plus
//heap garbage_af flares
//heap garbage_b terrain_scanner
heap garbage_bb plasma_bolts
//heap garbage_bc grenade_basic
//heap garbage_bd energy_cells
heap garbage_c plasma_bolts
heap garbage_cb plasmaxi_bolts
heap garbage_cc flares
heap garbage_cd mini_autolock_bolts //used to be maxim_laser
heap garbage_d plasmatrix
heap garbage_db mini_plasma_shells
//heap garbage_dc mini_plasma_shells
heap garbage_dd flamethrower
heap garbage_de flamer_fuel
//heap garbage_e mini_autolock_bolts //used to be plasmagnum
heap garbage_eb health_pickup
//heap garbage_f health_pickup
//heap garbage_fb plasmaxi_bolts
//heap garbage_g plasmaxi_bolts
heap garbage_gb battery_basic
//heap garbage_gc battery_basic
heap garbage_gd mini_battery_plus
heap garbage_h mini_grenade_basic
//heap garbage_hb flares
heap garbage_hc sight_pickup
//heap garbage_hd plasma_shells
heap garbage_he shield_pickup
heap garbage_hf energy_cells
heap garbage_i health_pickup
//heap garbage_ib energy_cells
heap garbage_j epulsar //used to be repair_arm
//heap garbage_jb mini_grenade_basic
heap garbage_jc health_pickup
// ELECTRICAL FENCES
laser fence "forcebars dum b" "forcebars dum bb" 0.25
laser fence "forcebars dum a" "forcebars dum ab" 0.25
laser fence "forcebars dum bc" "forcebars dum bd" 0.25
laser fence "forcebars dum ac" "forcebars dum ad" 0.25
laser fence "forcebars dum be" "forcebars dum bf" 0.25
laser fence "fence dum a" "fence dum ab" 0.25
laser fence "fence dum b" "fence dum bb" 0.25
laser fence "fence dum c" "fence dum cb" 0.25
laser fence "fence dum d" "fence dum db" 0.25
laser fence "fence dum e" "fence dum eb" 0.25
laser fence "fence dum f" "fence dum fb" 0.25
laser fence "fence dum g" "fence dum gb" 0.25
laser fence "fence dum h" "fence dum hb" 0.25
laser fence "fence dum i" "fence dum ib" 0.25
laser fence "fence dum j" "fence dum jb" 0.25
laser fence "fence dum k" "fence dum kb" 0.25
laser fence "fence dum l" "fence dum lb" 0.25
laser fence "fence dum m" "fence dum mb" 0.25
laser fence "fence dum n" "fence dum nb" 0.25
laser fence "fence dum o" "fence dum ob" 0.25
laser fence "fence dum p" "fence dum pb" 0.25
laser fence "fence dum q" "fence dum qb" 0.25
laser fence "fence dum r" "fence dum rb" 0.25
laser fence "fence dum s" "fence dum sb" 0.25
laser fence "fence dum t" "fence dum tb" 0.25
laser fence "fence dum u" "fence dum ub" 0.25
laser fence "fence dum v" "fence dum vb" 0.25
laser fence "fence dum w" "fence dum wb" 0.25
laser fence "fence dum x" "fence dum xb" 0.25
laser fence "fence dum y" "fence dum yb" 0.25
laser fence "fence dum z" "fence dum zb" 0.25
laser fence "fence dum zza" "fence dum zzab" 0.25
laser fence "fence dum zzb" "fence dum zzbb" 0.25
//BADDIES
add archore_lite Baddie_H
add archore_lite Baddie_I
add archore_lite Baddie_J
add adversor adversor_a
add adversor adversor_ab
add adversor adversor_ac
//add adversor adversor_ad
add adversor adversor_ae
add adversor adversor_af
add adversor adversor_ag
add adversor adversor_ah
add adversor adversor_ai
add adversor adversor_aj
add adversor adversor_ak
add adversor adversor_am
add adversor adversor_an
add adversor adversor_ao
add adversor adversor_ap
add adversor adversor_aq
add adversor adversor_ar
add adversor adversor_as
add adversor adversor_at
//add adversor adversor_au
add lob lob_a
add lob lob_ab
add lob lob_ac
add lob lob_ad
add lob lob_ae
add lob lob_af
add lob lob_ag
add lob lob_ah
add lob lob_ai
MEDIUM token dish _guarda
MEDIUM add scythor baddie_d
MEDIUM set dish_guarda res
MEDIUM select dish_guarda
MEDIUM add pp baddie_d
MEDIUM set activity patrol
MEDIUM token dish _guardb
MEDIUM add lob baddie_e
MEDIUM set dish_guardb res
MEDIUM select dish_guardb
MEDIUM add pp baddie_e
MEDIUM set activity patrol
HARD token dish _guarda
HARD add scythor baddie_d
HARD set dish_guarda res
HARD select dish_guarda
HARD add pp baddie_d
HARD set activity patrol
HARD token dish _guardb
HARD add lob baddie_e
HARD set dish_guardb res
HARD select dish_guardb
HARD add pp baddie_e
HARD set activity patrol
HARD token dish _guardc
HARD add sneeker baddie_f
HARD set dish_guardc res
HARD select dish_guardc
HARD add pp baddie_f
HARD set activity patrol
HARD token dish _guardd
HARD add runner baddie_g
HARD set dish_guardd res
HARD select dish_guardd
HARD add pp baddie_g
HARD set activity patrol
//PRESSURE PAD LIFTS ON DISH
add trigger doors -35.8 -12 0 35.8 -12 0 2 dishlift_a dishlift_b dishlift_c dishlift_d dishlift_e
add trigger death lower_forcebars_bc.gcs gen_switch_a
add trigger death lower_forcebars_bc.gcs gen_switch_b
//add trigger escort next 2 next_level.gcs gunlok
token bars_dest
set bars_dest 0
door -4.16 -6.84 -55.91 1
close door 1
//add trigger location 0 -16 0 1 L5_endcutscene.gcs
add trigger location 0 -16 0 1 next_level.gcs
// BEGIN EXTRA DEMO STUFF
// May need to be removed or at least altered for the full game -- Morgan.
// Gunlok can't die.
add trigger death L5_gunlokdead.gcs gunlok
// No more than two of the other characters can die.
// First we define a variable to count how many are dead.
token iDeathCount
set iDeathCount 0
// Now associate any of their deaths with a file that increments
// this count. When it hits two, we head off to a script to tell
// them they're miserable failures.
add trigger death L5_deathcounter.gcs elint
add trigger death L5_deathcounter.gcs hark
add trigger death L5_deathcounter.gcs frend
// END EXTRA DEMO STUFF
echo on
speak hark 34
speak hark 35
//add trigger time 0 L5_cutscene.gcs